package com.xiaoyu.lingdian.service;

import java.util.List;
import com.xiaoyu.lingdian.core.mybatis.page.Page;
import com.xiaoyu.lingdian.entity.CoreMap;

public interface CoreMapService {

	/**
	* 添加
	* 
	* @param coreMap
	* @return
	*/
	public boolean insertCoreMap(CoreMap coreMap);

	/**
	* 修改
	* 
	* @param coreMap
	* @return
	*/
	public boolean updateCoreMap(CoreMap coreMap);

	/**
	* 删除
	* 
	* @param coreMap
	* @return
	*/
	public boolean deleteCoreMap(CoreMap coreMap);

	/**
	* 查询
	* 
	* @param coreMap
	* @return
	*/
	public CoreMap getCoreMap(CoreMap coreMap);

	/**
	 * 根据条件查询服务中心坐标列表
	 *
	 * @param crmapLongitude
	 * @param crmapLatitude
	 * @param crmapUuid
	 * @return
	 */
	public List<CoreMap> findCoreMapByCnd(String crmapLongitude, String crmapLatitude, String crmapUuid);

	/**
	 * 根据条件查询服务中心坐标Page
	 *
	 * @param crmapLongitude
	 * @param crmapLatitude
	 * @param crmapUuid
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	public Page<CoreMap> findCoreMapPage(String crmapLongitude, String crmapLatitude, String crmapUuid, int pageNum, int pageSize);

	/**
	* 批量删除
	* 
	* @param list
	* @return boolean
	*/
	public boolean deleteCoreMapByCnd(List<String> list);
	
}